package com.ljx.funchat.user.service;

import com.ljx.funchat.common.domain.vo.req.CursorPageBaseReq;
import com.ljx.funchat.common.domain.vo.resp.CursorPageBaseResp;
import com.ljx.funchat.user.domain.entity.UserApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ljx.funchat.user.domain.vo.req.UserFriendApplyReq;
import com.ljx.funchat.user.domain.vo.req.UserFriendHandleReq;
import com.ljx.funchat.user.domain.vo.resp.UserApplyResp;

/**
 * <p>
 * 申请表 服务类
 * </p>
 *
 * @author LiJunXi
 * @since 2024-02-16
 */
public interface IUserApplyService {

    void apply(Long uid, UserFriendApplyReq req);

    void handleApply(Long uid, UserFriendHandleReq req);

    CursorPageBaseResp<UserApplyResp> applyPage(Long uid, CursorPageBaseReq req);

    void approveApply(Long uid, Long applyId);

    void deleteApply(Long applyId);
}
